package entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Schema(description = "用户实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    @Schema(description = "用户的编号")
    private Integer id;

    @Schema(description = "用户的用户名")
    public String username;

    @Schema(description = "用户的密码")
    public String password;
}
